package com.freedom.admin.infrastructure.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.freedom.admin.infrastructure.persistence.pojo.po.SysMenuPO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenuPO> {

    List<SysMenuPO> listRoutes();

    List<Integer> selectIdByRoleId(Integer roleId);
}
